import http from "../index";

export const InsertImgCollApi = async (data) =>
  await http.post("imgColl/insert", data);

export const getImgCollListApi = async (data) =>
  await http.post("imgColl/page/list", data);

export const deleteImgCollListApi = async (data) =>
  await http.post("imgColl/delete", data);

export const getImgCollDetailApi = async (id) =>
  await http.get(`imgColl/get/${id}`);

export const updateImgCollListApi = async (data) =>
  await http.post("imgColl/update", data);

export const downImgCollApi = async (data) =>
  await http.post("imgColl/down/remove", data);

